import Vue from 'vue'
import Router from 'vue-router'
import HelloWorld from '@/components/HelloWorld'

Vue.use(Router)

export default new Router({
  routes: [
    {
      path: '/',
      name: 'HelloWorld',
      component: HelloWorld
    },
    {
      path: '/userlist',
      name: 'UserList',
      component: () => import('@/components/UserList')
    },
    {
      path: '/booklist',
      name: 'BookList',
      component: () => import('@/components/BookList')
    },
    {
      path: '/login',
      name: 'Login',
      component: () => import('@/components/BookList')
    },
    {
      path: '/register',
      name: 'Register',
      component: () => import('@/components/Register')
    },
    {
      path: '/animeVedio',
      name: 'AnimeVedio',
      component: () => import('@/components/AnimeVedio')
    },
    {
      path: '/activity',
      name: 'Activity',
      component: () => import('@/components/Activity')
    },
    {
      path: '/portPage',
      name: 'PortPage',
      component: () => import('@/components/PortPage')
    },
    {
      path: '/baseInfo',
      name: 'BaseInfo',
      component: () => import('@/components/BaseInfo')
    },
    {
      path: '/article',
      name: 'Article',
      component: () => import('@/components/Article')
    },
    {
      path: '/modelDeed',
      name: 'ModelDeed',
      component: () => import('@/components/ModelDeed')
    },
    {
      path: '/picture',
      name: 'Picture',
      component: () => import('@/components/Picture')
    },
    {
      path: '/list',
      name: 'List',
      component: () => import('@/components/List')
    },
    {
      path: '/userManage',
      name: 'UserManage',
      component: () => import('@/components/UserManage')
    },
    {
      path: '/forgetPass',
      name: 'ForgetPass',
      component: () => import('@/components/ForgetPass')
    }
  ]
})
